package com.cloud.tsp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.api.domain.alarm.Accident;
import com.cloud.api.domain.alarm.QueryAccident;
import com.cloud.mybatis.domain.TableDataInfo;
import jakarta.servlet.http.HttpServletResponse;

import java.io.IOException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author haohaibo
 * @since 2023-12-22
 */
public interface IAccidentService extends IService<Accident> {

    TableDataInfo<Accident> selectAccidentList(QueryAccident para);

    void InsertOrUpdate(Accident para);

    void exportAccidentList(QueryAccident para, HttpServletResponse response) throws IOException;

}